#include "InCommentCPP.h"

InCommentCPP::InCommentCPP(Scope* pParentScope)
{
    m_eType=Scope::eScopeCommentCPP;
    m_pxParent = pParentScope;
	m_sScopeEnder = "\n";
}

InCommentCPP::~InCommentCPP(void)
{
}

Scope* InCommentCPP::parse(Token& inToken, bool &bIsEndOfScope)
{
	if(inToken.m_sValue == m_sScopeEnder)
    {
		bIsEndOfScope= true;
    }
    m_axBody.push_back(inToken);
    return NULL;
}